<template>
    <div>
        rights    
    </div>
</template>

<script>
export default {
    data(){
        return {
            rightsList:[]
        }
    },
    created(){
        this.getRightsList()
    },
    methods:{
        async getRightsList(){
            const {data:res} = await this.$http.get('rights/list')
            this.rightsList = res.data
        }
    }
}
</script>

<style lang="less" scoped>

</style>